package org.future.esb.component;
/**
 *@date   2010-4-12 下午08:26:52
 *@author dycc
 *@file   org.future.esb.component.IncludeEntryPoint.java
 */
public class IncludeEntryPoint {
	private String tagName = "include-entry-point";
	private String method = "";
	
	/**
	 * toString
	 */
	public String toString(){
		StringBuilder sb = new StringBuilder();
		sb.append("<" + tagName);
		sb.append(" method=\"" + getMethod() + "\"");
		sb.append(">");
		sb.append("\r\n");
		// add end element
		sb.append("</" + tagName + ">");
		return sb.toString();
	}
	
	public String getTagName() {
	    return tagName;
    }
	public void setTagName(String tagName) {
	    this.tagName = tagName;
    }
	
	public String getMethod() {
	    return method;
    }
	public void setMethod(String method) {
	    this.method = method;
    }
}
